#ifndef EBOUNDINGSHAPE_H
#define EBOUNDINGSHAPE_H

#include "../Engine_global.h"

class ESprite;

class EBoundingShape
{
public:
    enum Type
    {
        Circle,
        Rect,
        Line
    };

    Type type() const { return m_type; }

    virtual bool intersects(const EBoundingShape& other) const = 0;
protected:
    EBoundingShape();
    Type m_type;
    boost::shared_ptr<ESprite> m_sprite;
};

#endif // EBOUNDINGSHAPE_H
